package com.ddxcloud.movie.data.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class UserCoupon {

    @TableId
    @Schema(description = "主键ID")
    private Integer id;

    @Schema(description = "渠道ID")
    private String channelId;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "优惠券ID")
    private Long couponId;

    @Schema(description = "优惠券标题")
    private String couponTitle;

    @Schema(description = "优惠券券码")
    private String couponCode;

    @Schema(description = "优惠券信息")
    private String couponInfo;

    @Schema(description = "优惠券状态 0.未使用 1.已使用 2.已作废/过期")
    private Integer couponStatus;

    @Schema(description = "创建时间")
    private String createTime;
}
